package com.cb.kfc.service;

import com.cb.kfc.domain.Product;

import java.util.List;

public interface IProductService {

    //查询所有会员的种类信息
    public List<Product> findAll() throws Exception;

    //添加保存会员的种类信息
    void save(Product product) throws Exception;

    //通过id,删除会员的种类
    Integer deleteProductById(String[] ids);

    Product findOne(String id);

    void update(Product product);
}
